#include "mainwindow.h"
#include "accelerometer.h"
#include "events.h"
#include "soundprovider.h"

#include <QtGui/QApplication>

int main(int argc, char *argv[])
{
    srand(time(NULL));

    QApplication app(argc, argv);

    MainWindow mainWindow;
    mainWindow.setOrientation(MainWindow::ScreenOrientationLockPortrait);
    mainWindow.showExpanded();

    Accelerometer ac;
    Soundprovider p;
    Events e(&mainWindow, &ac, &p);
    e.createActions();

    return app.exec();
}
